package com.garen.fire.entity;

import javax.persistence.*;


@Table(name="fire_duty")
public class FireDuty {
	
	@Column(name = "fire_org_name",insertable=false)
	private String fireOrgName;
	

	
	@Column(name = "fire_gps_lat",insertable=false)
	private String fireGpsLat;
	
	@Column(name = "fire_gps_lng",insertable=false)
	private String fireGpsLng;

	
	@Column(name = "fire_man_age",insertable=false)
	private Integer fireManAge;
	
	@Column(name = "fire_police_rank",insertable=false)
	private String firePoliceRank;
	
	/*
	 * 消防车名称
	 */
	@Column(name = "fire_car_name",insertable=false)
	private String fireCarName;

	//人员信息
	@Column(name = "fire_man_name",insertable=false)
	private String fireManName;
	/**
	*消防车类型
	*/
	@Column(name = "car_type_name",insertable=false)
	private String carTypeName;
	
	/**
	*消防车容量
	*/
	@Column(name = "car_capacity",insertable=false)
	private Integer carCapacity;
	
	
	
	/**
	*备注
	*/
	@Column(name = "remark")
	private String remark;

	/**
	*消防队
	*/
	@Column(name = "fire_org",nullable=false)
	private Integer fireOrg;

	/**
	*
	*/
	@Column(name = "fire_create_date")
	@com.alibaba.fastjson.annotation.JSONField(format="yyyy-MM-dd")
	private java.util.Date fireCreateDate;

	/**
	*主键
	*/
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "duty_id",nullable=false)
	private Integer dutyId;

	/**
	*消防员
	*/
	@Column(name = "fire_man",nullable=false)
	private Integer fireMan;

	/**
	*消防车
	*/
	@Column(name = "fire_car",nullable=false)
	private Integer fireCar;

	/**
	*日期
	*/
	@Column(name = "fire_date",nullable=false)
	@com.alibaba.fastjson.annotation.JSONField(format="yyyy-MM-dd")
	private java.util.Date fireDate;



	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark=remark;
	}

	public Integer getFireOrg() {
		return fireOrg;
	}

	public void setFireOrg(Integer fireOrg) {
		this.fireOrg=fireOrg;
	}

	public java.util.Date getFireCreateDate() {
		return fireCreateDate;
	}

	public void setFireCreateDate(java.util.Date fireCreateDate) {
		this.fireCreateDate=fireCreateDate;
	}

	public Integer getDutyId() {
		return dutyId;
	}

	public void setDutyId(Integer dutyId) {
		this.dutyId=dutyId;
	}

	public Integer getFireMan() {
		return fireMan;
	}

	public void setFireMan(Integer fireMan) {
		this.fireMan=fireMan;
	}

	public Integer getFireCar() {
		return fireCar;
	}

	public void setFireCar(Integer fireCar) {
		this.fireCar=fireCar;
	}

	public java.util.Date getFireDate() {
		return fireDate;
	}

	public void setFireDate(java.util.Date fireDate) {
		this.fireDate=fireDate;
	}

	public String getFireOrgName() {
		return fireOrgName;
	}

	public void setFireOrgName(String fireOrgName) {
		this.fireOrgName = fireOrgName;
	}

	public String getFireCarName() {
		return fireCarName;
	}

	public void setFireCarName(String fireCarName) {
		this.fireCarName = fireCarName;
	}

	public String getFireManName() {
		return fireManName;
	}

	public void setFireManName(String fireManName) {
		this.fireManName = fireManName;
	}

	public String getCarTypeName() {
		return carTypeName;
	}

	public void setCarTypeName(String carTypeName) {
		this.carTypeName = carTypeName;
	}

	public Integer getCarCapacity() {
		return carCapacity;
	}

	public void setCarCapacity(Integer carCapacity) {
		this.carCapacity = carCapacity;
	}

	public String getFireGpsLat() {
		return fireGpsLat;
	}

	public void setFireGpsLat(String fireGpsLat) {
		this.fireGpsLat = fireGpsLat;
	}

	public String getFireGpsLng() {
		return fireGpsLng;
	}

	public void setFireGpsLng(String fireGpsLng) {
		this.fireGpsLng = fireGpsLng;
	}

	public Integer getFireManAge() {
		return fireManAge;
	}

	public void setFireManAge(Integer fireManAge) {
		this.fireManAge = fireManAge;
	}

	public String getFirePoliceRank() {
		return firePoliceRank;
	}

	public void setFirePoliceRank(String firePoliceRank) {
		this.firePoliceRank = firePoliceRank;
	}

}
